#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# day2

# 原始字符串，以r开始，自动添加反斜杠转义字符。
str = r'C:\now'

str = """我擦我操我擦，
擦擦擦擦擦，
滴滴滴滴滴滴滴滴，
😄😄😄  """

print(str)

myteacher = '小甲鱼'
yourteacher = myteacher
yourteacher = '黑夜'
print('myTehaher:',myteacher)  #	myTehaher: 小甲鱼

myteacher = '小甲鱼'
yourteacher = myteacher
myteacher = '黑夜'
print('yourTeacher:',yourteacher)	#	yourTeacher: 小甲鱼

first = 520
second = '480'
first = second
print('first is ',first)	#	first is  480

# 如果非要在原始字符串结尾输入反斜杠，可以如何灵活处理？
print(r"let's go!")
print("let's go!")
print("let's go!\\")


# 使用变量，计算一年有多少秒？
totalDay = 365
hour = 24
minute = 60
second = 60
print('一年总共有',totalDay*hour*minute*second,'秒')


# 总结：
# 1.变量名命名的标准：字母，数字，下划线；不能以数字开头
# 2.反斜杠转义字符
# 3.r代表原始字符
# 4.变量名的赋值
# 5.字符串里面的单引号和双引号


